package com.management.po;

import java.sql.Timestamp;

/**
 * @author zwh
 * @date 2021/10/28
 * 人事表单
 */
public class PersonnelForm {
    /**
     * 人事调动编号
     */
    private int  PersonnelFormId;

    /**
     * 公司编号
     */
    private int companyId;

    /**
     * 表状态
     */
    private int formStatsId;

    /**
     * 申请人
     */
    private int userId;

    /**
     * 调动部门
     */
    private int deptId;

    /**
     * 调动科室
     */
    private int sectionId;

    /**
     * 调动职位
     */
    private int postId;

    /**
     * 调动原因
     */
    private String personnelReason;

    /**
     * 调动时间
     */
    private Timestamp personnelDate;

    /**
     * 当前审核人(也是与user表关联)
     */
    private int pid;

    /**
     * 流程记录信息
     */
    private String personnelRecord;

    /**
     * 备注
     */
    private String personnelNote;


    @Override
    public String toString() {
        return "PersonnelForm{" +
                "PersonnelFormId='" + PersonnelFormId + '\'' +
                ", companyId=" + companyId +
                ", formStatsId=" + formStatsId +
                ", userId=" + userId +
                ", deptId=" + deptId +
                ", sectionId=" + sectionId +
                ", postId=" + postId +
                ", personnelReason='" + personnelReason + '\'' +
                ", personnelDate=" + personnelDate +
                ", pid=" + pid +
                ", personnelRecord='" + personnelRecord + '\'' +
                ", personnelNote='" + personnelNote + '\'' +
                '}';
    }

    public PersonnelForm() {
    }

    public int getCompanyId() {
        return companyId;
    }

    public PersonnelForm(int  personnelFormId, int companyId, int formStatsId, int userId, int deptId, int sectionId, int postId, String personnelReason, Timestamp personnelDate, int pid, String personnelRecord, String personnelNote) {
        this.PersonnelFormId = personnelFormId;
        this.companyId = companyId;
        this.formStatsId = formStatsId;
        this.userId = userId;
        this.deptId = deptId;
        this.sectionId = sectionId;
        this.postId = postId;
        this.personnelReason = personnelReason;
        this.personnelDate = personnelDate;
        this.pid = pid;
        this.personnelRecord = personnelRecord;
        this.personnelNote = personnelNote;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public int getPersonnelFormId() {
        return PersonnelFormId;
    }

    public void setPersonnelFormId(int personnelFormId) {
        PersonnelFormId = personnelFormId;
    }

    public int getFormStatsId() {
        return formStatsId;
    }

    public void setFormStatsId(int formStatsId) {
        this.formStatsId = formStatsId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public int getSectionId() {
        return sectionId;
    }

    public void setSectionId(int sectionId) {
        this.sectionId = sectionId;
    }

    public int getPostId() {
        return postId;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }

    public String getPersonnelReason() {
        return personnelReason;
    }

    public void setPersonnelReason(String personnelReason) {
        this.personnelReason = personnelReason;
    }

    public Timestamp getPersonnelDate() {
        return personnelDate;
    }

    public void setPersonnelDate(Timestamp personnelDate) {
        this.personnelDate = personnelDate;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPersonnelRecord() {
        return personnelRecord;
    }

    public void setPersonnelRecord(String personnelRecord) {
        this.personnelRecord = personnelRecord;
    }

    public String getPersonnelNote() {
        return personnelNote;
    }

    public void setPersonnelNote(String personnelNote) {
        this.personnelNote = personnelNote;
    }
}
